<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="com.kaishengit.entity.Message" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   <meta content="2" http-equiv="Refresh" >
   <meta charset="UTF-8">

  </head>
  
  <body>
    <h3  > i聊天记录</h3><br>
    <% 
    request.setCharacterEncoding("gbk");
    List<Message> neirong=(List<Message>)application.getAttribute("neirong");
    	if(neirong!=null){
    		for(Message msg:neirong){
    %>			
    <div>
    	<%=msg.getTime() %>
    	<%=msg.getUsername() %>
    	<%=msg.getContext() %>
    	
    </div><br/>
    <%		}}
    		 %>
  
  </body>
</html>
